/* $Header: p_diag.h,v 2.2 01/10/02 10:30:33 przybyls Exp $ */

/***********************************************************************/
/* INCLUDE FILE NAME:  p_diag.h                                        */
/* ==================                                                  */
/*                                                                     */
/* Author:  Lesley Freed                                               */
/*                                                                     */
/* COMMENT:                                                            */
/*                                                                     */
/***********************************************************************/

#ifndef P_DIAG_H
#define P_DIAG_H

/*****************************/
/*   IFDEFS                  */
/*****************************/


/*****************************/
/*   SYMBOLIC CONSTANTS      */
/*****************************/


/*****************************/
/*   MACROS                  */
/*****************************/

/*****************************/
/*   TYPEDEFS                */
/*****************************/

/*****************************/
/*   FUNCTION PROTOTYPES     */
/*****************************/

   UI_ERR        SetDiagPneuDutyCycle( U_INT8 channel, INT32 duty_cycle );
   void          ClearDiagPneuDutyCycle( U_INT8 channel );
   UI_ERR        SetSplitValveManualControl(pINLET_STATUS status,ON_OFF on_off);
   pINLET_STATUS PositionToInlet( POSITION position );
   INT32         GetAuxVoltsSetpt( U_INT8 aux_number );
   UI_ERR        SetInletPresDCOnOff( pINLET_STATUS pinlet, ON_OFF on_off );
   UI_ERR        SetInletPresDC( pINLET_STATUS pinlet, INT32 duty_cycle );
   UI_ERR        SetInletFlowDCOnOff( pINLET_STATUS pinlet, ON_OFF on_off );
   UI_ERR        SetInletFlowDC( pINLET_STATUS pinlet, INT32 duty_cycle );
   UI_ERR        SetDetPresDCOnOff( pDETECTOR_STATUS pdet, U_INT8 gas_num, 
                                    ON_OFF on_off );
   UI_ERR        SetDetPresDC( pDETECTOR_STATUS pdet, U_INT8 gas_num, 
                               INT32 duty_cycle );
   UI_ERR        SetAuxPresDCOnOff( pAUX_STATUS paux, ON_OFF on_off );
   UI_ERR        SetAuxPresDC( pAUX_STATUS paux, INT32 duty_cycle );
   BIT8          InletHasFlowSensor( pINLET_STATUS pinlet );

#endif
